import { Component, OnInit } from '@angular/core';

@Component({
    styleUrls: ['./components.less'],
    selector:'equip-state-evaluation',
    template:`
        <div class='stateEvaluationContainer'>
            <div>
                <span>健康状况:</span><span><span [style]="{width:93+'%',backgroundColor:'#caf982'}"></span></span>93
            </div>
            <div>
                <span>剩余寿命:</span><span><span [style]="{width:59+'%',backgroundColor:'#d9001b'}"></span></span>59
            </div>
            <div>
                <span>维修策略:</span><span>无需修理</span>
            </div>
        </div>
    `
})

export class StateEvaluationComponent implements OnInit {

    ngOnInit():void{
        
    }
}